<template>
    <a-config-provider :locale="zhCN" :prefixCls="appName">
        <router-view />
    </a-config-provider>
</template>

<script setup>
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
import { ref } from 'vue';
dayjs.locale('zh-cn');

const appName = ref(process.env.VUE_APP_NAME)
</script>
